<?php
/**
 * Funkcie spolocne pre projekt
 * @author Tomas Srna
 * @package bakalarka
 */

class F
{
	/**
	 * Upravene htmlentities
	 * @param string $string	Nezakodovany string
	 * @return string			Zakodovany string 
	 */
	public static function he($string) 
	{
		return htmlentities(
			html_entity_decode($string, ENT_COMPAT, 'UTF-8'), 
			ENT_COMPAT, 'UTF-8');
	}
}
